@echo off
cd /d %~dp0

for %%a in (*.tob) do @lua modtob.lua %%a %%~na.txt %%~na.new
for %%a in (*.new) do @tobc %%a
for %%a in (*.bin) do @seenenc %%a ..\txt\%%~na.txt
del *.bin
